package ch.zbw.sysventory.server.service;

import java.util.List;

import ch.zbw.sysventory.server.model.Computer;
import ch.zbw.sysventory.server.model.ComputerScan;
import ch.zbw.sysventory.server.model.ComputerScanResult;

public interface ComputerScanResultService {

	public ComputerScanResult get(Long id);

	public List<ComputerScanResult> listByComputerScan(ComputerScan computerScan);

	public List<ComputerScanResult> listByComputer(Computer computer);

	public ComputerScanResult save(ComputerScanResult computerScanResult);

	public List<ComputerScanResult> searchComputerScans(String searchCombination, String computerName, String ipAddress, String type, String cpuType, String operatingSystem);

	public List<ComputerScanResult> listLatestScanResultsByComputers(List<Computer> computers);

	public List<String> listAllOperatingSystemsForLatestScan(ComputerScan latestScan);

}
